package com.ruoyi.share.mapper;

import java.util.List;
import com.ruoyi.share.domain.ShareAllocationMoneyUser;

/**
 * 分账用户Mapper接口
 *
 * @author ruoyi
 * @date 2021-11-16
 */
public interface ShareAllocationMoneyUserMapper
{
    /**
     * 查询分账用户
     *
     * @param id 分账用户主键
     * @return 分账用户
     */
    public ShareAllocationMoneyUser selectShareAllocationMoneyUserById(Long id);

    /**
     * 查询分账用户列表
     *
     * @param shareAllocationMoneyUser 分账用户
     * @return 分账用户集合
     */
    public List<ShareAllocationMoneyUser> selectShareAllocationMoneyUserList(ShareAllocationMoneyUser shareAllocationMoneyUser);

    /**
     * 新增分账用户
     *
     * @param shareAllocationMoneyUser 分账用户
     * @return 结果
     */
    public int insertShareAllocationMoneyUser(ShareAllocationMoneyUser shareAllocationMoneyUser);

    /**
     * 修改分账用户
     *
     * @param shareAllocationMoneyUser 分账用户
     * @return 结果
     */
    public int updateShareAllocationMoneyUser(ShareAllocationMoneyUser shareAllocationMoneyUser);

    /**
     * 删除分账用户
     *
     * @param id 分账用户主键
     * @return 结果
     */
    public int deleteShareAllocationMoneyUserById(Long id);

    /**
     * 批量删除分账用户
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShareAllocationMoneyUserByIds(Long[] ids);
}
